package com.hugh.lagouserviceuser.service.impl;

import com.hugh.lagouserviceuser.service.CodeServiceFeignClient;
import com.hugh.lagouserviceuser.util.CheckCodeResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: Hugh
 * @Date: 2020/7/21
 */
@Component
@Slf4j
public class CodeCheckFallback implements CodeServiceFeignClient {
    @Override
    public Integer validate(String email, String code) {
        log.info("CodeCheckFallback false");
        return CheckCodeResult.ERROR.getValue();
    }
}
